home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / System 7.0 Samples / MacShell / FileFormat.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-04  |  610 b   |  27 lines  |  [TEXT/MPS ]

  1. #ifndef __TYPES__
  2. #include <Types.h>
  3. #endif
  4.  
  5. #ifndef __PRINTING__
  6. #include <Printing.h>
  7. #endif
  8.  
  9. /********/
  10.  
  11. typedef struct {
  12.     short            version;            /* The file format version.                        */
  13.     Boolean            printRecValid;        /* True if print record has been created.        */
  14.     TPrint            print;                /* Print record for file.                        */
  15.     short            endVersPrintInfo;    /* End version and print information.            */
  16.  
  17. #if MACSHELL_VERSION
  18.  
  19.     Handle            textHndl;            /* Temporarily holds opened document text.        */
  20.     TEHandle        inBox;                /* Handles to TextEdit in-box.                    */
  21.     TEHandle        outBox;                /* Handles to TextEdit out-box.                    */
  22.  
  23. #endif
  24.  
  25. } TheDoc;
  26.  
  27.